package com.ruoyi.project.jiaqin.advertising.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 广告投放对象 advertising
 *
 * @author admin
 * @date 2021-01-11
 */
public class Advertising extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 广告ID */
    @Excel(name = "广告ID")
    private String advertId;

    /** 投放位置 */
    @Excel(name = "投放位置")
    private Integer putAddr;

    @Excel(name = "排序")
    private Integer sort;

    /** 投放时间 */
    @Excel(name = "投放时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date putAt;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAdvertId(String advertId)
    {
        this.advertId = advertId;
    }

    public String getAdvertId()
    {
        return advertId;
    }
    public void setPutAddr(Integer putAddr)
    {
        this.putAddr = putAddr;
    }

    public Integer getPutAddr()
    {
        return putAddr;
    }
    public void setPutAt(Date putAt)
    {
        this.putAt = putAt;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getPutAt()
    {
        return putAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("advertId", getAdvertId())
            .append("putAddr", getPutAddr())
            .append("putAt", getPutAt())
            .toString();
    }
}
